package com.example.actionsignin.mvp.presenter;

import android.util.Log;

import com.tencent.tauth.IUiListener;
import com.tencent.tauth.UiError;

import org.json.JSONObject;

/**
 * Created by 旭 on 2017/9/10/010.
 */

public class LoginListener implements IUiListener {

    private static final String TAG = "LoginListener";

    @Override
    public void onComplete(Object o) {
        Log.d(TAG, "onComplete: ");
        doComplete((JSONObject) o);
    }

    @Override
    public void onError(UiError uiError) {
        Log.d(TAG, "onError: " + uiError);
    }

    @Override
    public void onCancel() {
        Log.d(TAG, "onCancel: ");
    }

    public void doComplete(JSONObject data)
    {

    }
}
